﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace SqlSugarAndEntity
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("course_r_catalog")]
    public partial class course_r_catalog
    {
           public course_r_catalog(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:分类ID
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? CatalogId {get;set;}

           /// <summary>
           /// Desc:课程ID
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? CourseId {get;set;}

           /// <summary>
           /// Desc:排序
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? SortId {get;set;}

           /// <summary>
           /// Desc:状态 -1删除 0正常 1关联未发布
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? Status {get;set;}

           /// <summary>
           /// Desc:置顶
           /// Default:b'0'
           /// Nullable:True
           /// </summary>           
           public bool? IsTop {get;set;}

           /// <summary>
           /// Desc:发布年份
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Year {get;set;}

           /// <summary>
           /// Desc:修改时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? EditDateTime {get;set;}

           /// <summary>
           /// Desc:发布时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? PublishTime {get;set;}

    }
}
